package com.ccs.hanke.entity;

/**
 * @author CS_Chan
 */
public class Apple extends Furit {
    private int price = 8;

    private int weight;

    public Apple() {
    }

    public Apple(int weight) {
        this.weight = weight;
    }

    @Override
    public int getPrice() {
        return price;
    }

    @Override
    public void setPrice(int price) {
        this.price = price;
    }
}
